package com.liu.user.service;

import com.github.pagehelper.PageInfo;
import com.liu.user.entity.base.User;
import com.liu.user.entity.qo.UserRegisterInfoQO;
import com.liu.user.entity.vo.DeductionInfoVO;
import com.liu.user.entity.vo.UserInfoVO;

public interface UserService {

    void register(UserRegisterInfoQO userRegisterInfoQO);

    User registerCheckUsername(String username);

    User login(String username);

    void recordUserInfo(User user);

    UserInfoVO getUserInfo(Integer userId);

    void modifyPassword(String newPassword, Integer id);

    PageInfo<DeductionInfoVO> queryDeductionInfo(String userId, String pageNum, String pageSize);

}
